import { cleanQueryParams } from "../utils/index";

export function httpRequestStart(config) {
  return {
    type: "HTTP_REQUEST_START",
    payload: cleanQueryParams(config.url),
  };
}

export function httpRequestEnd(config) {
  return {
    type: "HTTP_REQUEST_END",
    payload: cleanQueryParams(config.url),
  };
}
